package com.ruoyi.common.VipRebate;

import java.math.BigDecimal;

import org.springframework.beans.factory.annotation.Value;

/**
 * 功能：
 *
 * @author：LCL
 * @create：2020/12/23 18:19
 * @version：2020 Version：1.0
 * @company：小牛科技 Created with IntelliJ IDEA
 */
public class VipRebate {


	/**
	 * 推荐普通会员返利
	 */
	public static BigDecimal vip;
	/**
	 * 推荐一级会员返利
	 */
	public static BigDecimal vip1;
	/**
	 * 推荐二级会员返利
	 */
	public static BigDecimal vip2;
	/**
	 * 推荐三级会员返利
	 */
	public static BigDecimal vip3;

	public static BigDecimal getVip() {
		return vip;
	}

	@Value("${aishangtuan.vipRebate.vip}")
	public static void setVip(BigDecimal vip) {
		VipRebate.vip = vip;
	}

	public static BigDecimal getVip1() {
		return vip1;
	}

	@Value("${aishangtuan.vipRebate.vip1}")
	public static void setVip1(BigDecimal vip1) {
		VipRebate.vip1 = vip1;
	}

	public static BigDecimal getVip2() {
		return vip2;
	}

	@Value("${aishangtuan.vipRebate.vip2}")
	public static void setVip2(BigDecimal vip2) {
		VipRebate.vip2 = vip2;
	}

	public static BigDecimal getVip3() {
		return vip3;
	}

	@Value("${aishangtuan.vipRebate.vip3}")
	public static void setVip3(BigDecimal vip3) {
		VipRebate.vip3 = vip3;
	}
}
